package cn.cuilan.base;

import javax.persistence.MappedSuperclass;
import java.io.Serializable;

/**
 * VisibleEntity 公共实体
 *
 * @param <ID> 整型的包装类型
 * @author zhangyue
 */
@MappedSuperclass
public abstract class VisibleEntity<ID extends Serializable> extends BaseEntity<ID> {

    /**
     * 是否删除
     */
    protected boolean visible;

    public boolean isVisible() {
        return visible;
    }

    public void setVisible(boolean visible) {
        this.visible = visible;
    }
}
